<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>收入院</title>
    <link rel="stylesheet" href="plugins/bootstrap/css/bootstrap.min.css">
    <link rel="stylesheet" href="css/medicalInsurance.css">
    <link rel="stylesheet" href="css/common.css">
</head>
<body>
<div class="container-fluid my-container-fluid">

    <!-- 查询面板 -->
    <div class="panel panel-default" id="search">
        <div class="panel-heading ht50">
            <h3 class="panel-title pull-left mt5"><i class="glyphicon glyphicon-search"></i> 查询面板</h3>
            <form class="form-inline pull-right">
                <div class="form-group ">
                    <label>入院时间：</label>
                    <input type="text" name="patInTime_begin" class="form-control input-sm" onclick="WdatePicker({dateFmt:'yyyy-MM-dd'})" placeholder="请选择开始时间">
                    -
                    <input type="text" name="patInTime_end" class="form-control input-sm" onclick="WdatePicker({dateFmt:'yyyy-MM-dd'})" placeholder="请选择结束时间">
                </div>
            </form>
        </div>
        <div class="panel-body">
            <form class="form-inline mb20 flex jscenter alcenter">
                <div class="form-group">
                    <label>住院号：</label>
                    <input type="text" name="patInHosCode_like" class="form-control" placeholder="请输入">
                </div>
                <div class="form-group">
                    <label>科室：</label>
                    <input type="text" name="deptName_like" class="form-control" placeholder="请输入">
                </div>
                <div class="form-group">
                    <label>患者姓名：</label>
                    <input type="text" name="inPatName_like" class="form-control" placeholder="请输入">
                </div>
            </form>
            <div class="row">
                <div class="col-md-6"><a href="javascript: search();" type="button" class="btn btn-warning btn-sm pull-right"><i class="glyphicon glyphicon-search"></i> 查询</a></div>
                <div class="col-md-6"><a href="javascript: searchReset();" type="button" class="btn btn-default btn-sm"><i class="glyphicon glyphicon-repeat"></i> 重置</a></div>
            </div>
        </div>
    </div>

    <div class="panel panel-default">
        <div class="panel-heading">
            <button type="button" class="btn btn-success btn-sm exportBtn"><i class="glyphicon glyphicon-download-alt"></i> 导出</button>
        </div>
        <div class="panel-body">
            <table class="table table-bordered text-center table-condensed">
                <thead>
                <tr class="success text-success">
                    <th class="text-center verticalmiddle">序号</th>
                    <th class="text-center verticalmiddle">住院号</th>
                    <th class="text-center verticalmiddle">患者姓名</th>
                    <th class="text-center verticalmiddle">入院时间</th>
                    <th class="text-center verticalmiddle">出院时间</th>
                    <th class="text-center verticalmiddle">电话</th>
                    <th class="text-center verticalmiddle">身份证号</th>
                    <th class="text-center verticalmiddle">性别</th>
                    <th class="text-center verticalmiddle">类别</th>
                    <th class="text-center verticalmiddle">地址</th>
                    <th class="text-center verticalmiddle">科室</th>
                    <th class="text-center verticalmiddle">门诊诊断</th>
                    <th class="text-center verticalmiddle">入院诊断</th>
                    <th class="text-center verticalmiddle">申请入院科室</th>
                    <th class="text-center verticalmiddle">状态</th>
                </tr>
                </thead>
                <tbody>
                </tbody>
            </table>
            <div class="paging">
                <ul>
                    <li>共<span id="totalCountHtml"></span>条记录，当前显示<span id="pageInforHtml"></span>页，转到</li>
                    <li><input type="text" id="pageInput"></li>
                    <li>页</li>
                    <li><a style="cursor:pointer;" id="pageInputSubmit">确定</a></li>
                </ul>
                <ul>
                    <li><a style="cursor:pointer;" name="first_enable" id="first_a">首页</a></li>
                    <li><a style="cursor:pointer;" name="prev_enable" id="prev_a">上一页</a></li>
                    <li><a style="cursor:pointer;" name="next_enable" id="next_a">下一页</a></li>
                    <li><a style="cursor:pointer;" name="last_enable" id="last_a">末页</a></li>
                </ul>
            </div>
        </div>
    </div>
</div>
</body>
<script src="lib/jquery-1.12.4.min.js"></script>
<script src="plugins/datePicker/WdatePicker.js"></script>
<script src="plugins/bootstrap/js/bootstrap.js"></script>
<script src="plugins/layer/layer.js"></script>
<script src="plugins/jsrender/jsrender.js"></script>
<script id="info_tmpl" type="text/x-jsrender">
    <tr>
        <td>{{: #index + 1 }}</td>
        <td>{{: patInHosCode }}</td>
        <td>{{: inPatName }}</td>
        <td>{{: patInTime.substr(0,patInTime.lastIndexOf(".")) }}</td>
        <td>{{: patLeaveOrderLeaveTime.substr(0,patLeaveOrderLeaveTime.lastIndexOf(".")) }}</td>
        <td>{{: telphone }}</td>
        <td>{{: patIdcard }}</td>
        <td>{{: sexName }}</td>
        <td>{{: chargeClassName }}</td>
        <td>{{: addressName }}</td>
        <td>{{: deptName }}</td>
        <td>{{: outDiagName }}</td>
        <td>{{: mainDiagName }}</td>
        <td>{{: sqks }}</td>
        <td>{{: zystatus }}</td>
    </tr>
</script>
<script src="js/admitte.js"></script>
</html>